package com.java1412.json.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * json树对象 ims_tree_json
 * 
 * @author ruoyi
 * @date 2023-12-25
 */
public class ImsTreeJson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** json串 */
    @Excel(name = "json串")
    private String json;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 楼层类型 */
    @Excel(name = "楼层类型")
    private Long typeOfBuilding;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setJson(String json) 
    {
        this.json = json;
    }

    public String getJson() 
    {
        return json;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setTypeOfBuilding(Long typeOfBuilding) 
    {
        this.typeOfBuilding = typeOfBuilding;
    }

    public Long getTypeOfBuilding() 
    {
        return typeOfBuilding;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("json", getJson())
            .append("name", getName())
            .append("orderNum", getOrderNum())
            .append("typeOfBuilding", getTypeOfBuilding())
            .toString();
    }
}
